package shzj.orm.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import shzj.orm.entity.Role1;
import shzj.orm.entity.Role1Example;

public interface Role1Mapper {
    int countByExample(Role1Example example);

    int deleteByExample(Role1Example example);

    int deleteByPrimaryKey(Long pk);

    int insert(Role1 record);

    int insertSelective(Role1 record);

    List<Role1> selectByExample(Role1Example example);

    Role1 selectByPrimaryKey(Long pk);

    int updateByExampleSelective(@Param("record") Role1 record, @Param("example") Role1Example example);

    int updateByExample(@Param("record") Role1 record, @Param("example") Role1Example example);

    int updateByPrimaryKeySelective(Role1 record);

    int updateByPrimaryKey(Role1 record);
}